package cn.iocoder.yudao.module.pickbook.dal.mysql.book;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.pickbook.dal.dataobject.book.PickbookChapterDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 绘本章节 Mapper
 *
 * @author 芋道源码
 */
@Mapper
public interface PickbookChapterMapper extends BaseMapperX<PickbookChapterDO> {

    /**
     * 根据绘本ID查询章节列表
     *
     * @param bookId 绘本ID
     * @return 章节列表
     */
    List<PickbookChapterDO> selectByBookId(@Param("bookId") Long bookId);

} 